if(ESP_PLATFORM)
message("==============Logic Layer================")  
file(GLOB_RECURSE SOURCES ./src/*.c *.c)

set(LogicLayer_srcs "src/http.c"
                    "src/sntp.c"   
                    "src/wifi.c"   
                    "Font/myFont.c"   
                    )

idf_component_register(SRCS ${SOURCES}          #"${LogicLayer_srcs}"
                        INCLUDE_DIRS "./inc"
                        REQUIRES json nvs_flash)
endif()

